package com.example.video.service;

import com.example.video.entity.Device;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author qiusuyang
 * @since 2024-05-10
 */
public interface IDeviceService {

    List<Device> getList(Integer page, Integer size);

    long  GetCount();

    List<Device> getListByRole(Integer page, Integer size, String role);

    long getCountByROle(String role);

    List<Device> getListByStatus(Integer page, Integer limit, Integer status);

    Device getItemByDeviceId(String deviceId);

    void delete(String deviceId);
}
